﻿CREATE PROCEDURE [ServiceEngine].[EntityExists]
	@EntityID uniqueidentifier,
	@EntityTypeID int,
	@EntityExists bit OUTPUT
AS
BEGIN
	SET NOCOUNT ON

	SELECT  @EntityExists = 1
	FROM	ServiceEngine.Names N
	WHERE	N.EntityTypeID	= @EntityTypeID
	AND		N.EntityID	= @EntityID
END


